GetISOTypeFromPlatformType
TheGetISOTypeFromPlatformType
method returns the ISO type corresponding to the specified platform-specific type.
ODValueType GetISOTypeFromPlatformType ( in ODPlatformType platformType, in ODPlatformTypeSpace typeSpace);
platformType
- A 32-bit wrapper for the platform-specific type. On the Mac OS platform, this type is identical to the
ScrapType
orOSType
types (a four-character code).typeSpace
- A 32-bit value used to specify the type of a platform-specific structure identifying a type space (data or file). The value of
typeSpace
must be one of the following:kODPlatformDataType
orkODPlatformFileType
.- return value
- The corresponding ISO type.
DISCUSSION
The valuekODPlatformDataType
for thetypeSpace
parameter indicates the native operating system scrap type. The valuekODPlatformFileType
indicates the native operating system file type.Your part calls this method. OpenDoc does not use platform types (for example,
OSType
on the Mac OS). Therefore, to interoperate between OpenDoc and non-OpenDoc systems, platform types and ISO types need to be translated from one kind to the other.It is your responsibility to deallocate the returned value type when it is no longer needed.
SEE ALSO
TheODPlatformTypeSpace
type (page 920).
TheODValueType
type (page 904).
TheODStorageSystem::CreatePlatformTypeList
method (page 661).
TheODTranslation::GetPlatformTypeFromISOType
method (page 792).
"Translation" on page 333 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help